<?php
// +----------------------------------------------------------------------
// | ZanPianCMS
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.zanpiancms.com All rights reserved.
// +----------------------------------------------------------------------
// | BBS:  <http://www.zanpiancms.cc>
// +----------------------------------------------------------------------
namespace app\common\validate;
class AuthGroup extends \think\Validate{
 protected $rule = [
        ['title', 'require|unique:auth_group', '用户组名不能为空|用户组名存在,请更换'],
        ['description', 'require', '分组描述不能为空'],
		['module', 'require', '分组模块必须选择'],
    ];		
}